@gonzalom
12 years, 10 months ago
nevermind. i got it. Here it is:
<?php $uc=array(); while ( bp_members() ) : bp_the_member(); $idautor= bp_get_member_user_id(); $userpost = get_posts(‘showposts=1&author=’.$idautor); //$uc[$idautor] = ”; $uc[$idautor]=$userpost[0]->post_date;
endwhile; arsort($uc); foreach ($uc as $key => $value) { $user = get_userdata($key); $post_count = get_usernumposts($user->ID); if ($post_count) { $author_posts_url = get_author_posts_url($key); echo ‘
‘; } } ?>